﻿using System;
using System.Collections.ObjectModel;

namespace SpLocalizer.Common.DataStructures.Dictionaries
{
    [Serializable]
    public class KeyValuePairCollection<TKey, TValue> : Collection<KeyValuePairSerializable<TKey, TValue>>
    {
        public void Add(TKey key, TValue value)
        {
            Add(new KeyValuePairSerializable<TKey, TValue>(key, value));
        }
    }
}